import request from '@/utils/request'

/*
 * 招生简章
 */

// 招生列表
export function recuitIndex(params) {
  return request({
    url: 'recruit_student/index',
    method: 'GET',
    params
  })
}

// 添加招生
export function recuitAdd(data) {
  return request({
    url: 'recruit_student/add',
    method: 'POST',
    data:data
  })
}

// 招生详情
export function recuitDetail(params) {
  return request({
    url: 'recruit_student/edit',
    method: 'GET',
    params
  })
}

// 编辑招生
export function recuitEdit(data) {
  return request({
    url: 'recruit_student/edit',
    method: 'POST',
    data:data
  })
}

// 招生管理-我的接待/我的审核
export function recuitLogIndex(params) {
  return request({
    url: 'recruit_student_log/index',
    method: 'GET',
    params
  })
}

// 招生详情
export function recuitLogDetail(params) {
  return request({
    url: 'recruit_student_log/edit',
    method: 'GET',
    params
  })
}

// 招待老师审核
export function recuitDistribution(data) {
  return request({
    url: 'recruit_student_log/status',
    method: 'POST',
    data:data
  })
}

// 审核人审核
export function recuitExamine(data) {
  return request({
    url: 'recruit_student_log/examine',
    method: 'POST',
    data:data
  })
}

